/**
 * 测试 原始类型 的 参数传递
 */

function increment( counter ){
    console.log( arguments.callee.name , ': counter = ' , counter );
    counter++ ;
    console.log( arguments.callee.name , ': counter = ' , counter );
}

function test(){
    let counter = 1000 ;
    increment( counter );
    console.log( counter );
}

test();